import java.util.ArrayList;
import java.util.List;

import program.Shell;
import kernel.IOManager;
import kernel.ProcessManager;
import kernel.exception.OSException;
import kernel.process.AbstractProcessHeader;

public class Main {

	/**
	 * @param args
	 * @throws OSException 
	 */
	public static void main(String[] args) throws OSException {
		ProcessManager.getInstance();
		List<String> list = new ArrayList<String>();
		list.add(Shell.WINDOWED);
		list.add(Shell.SILENT);
		List<AbstractProcessHeader> list2 = new ArrayList<AbstractProcessHeader>();
		list2.add(new AbstractProcessHeader("shell", list, "", "", false, IOManager.STARTING_SHELL_ID, "petr"));
		ProcessManager.getInstance().checkAndCreateProcess(list2);
	}
}
